<?php
$js_dir = 'images/js/';
$js_name = $js_dir . trim($_GET['file']) . '.js';
if( file_exists($js_name) )
	include $js_name;